package entity;
import java.util.*;
import java.text.*;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Blob;
import com.google.appengine.api.datastore.Text;
import com.google.appengine.api.users.User;
import java.io.Serializable;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Paths implements Serializable {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;

    @Persistent
    private String pathName;
    @Persistent
    private String pathID;
    @Persistent
    private Blob image;
    @Persistent
    private int downloads;
    
	public Paths(String pathName, String pathID, Blob image, int downloads) {
		this.pathName = pathName;
		this.pathID = pathID;
		this.image = image;
		this.downloads = downloads;
	}
	
	public String getPathName() {
		return pathName;
	}
	public void setPathName(String pathName) {
		this.pathName = pathName;
	}
	public String getPathID() {
		return pathID;
	}
	public void setPathID(String pathID) {
		this.pathID = pathID;
	}
	public Blob getImage() {
		return image;
	}
	public void setImage(Blob image) {
		this.image = image;
	}
	public int getDownloads() {
		return downloads;
	}
	public void setDownloads(int downloads) {
		this.downloads = downloads;
	}
	
    
    
}
